<?php
/**
 * TbUsers.php class file.
 * @author shengxia <523247758@qq.com>
 * @date 2021/01/31- 3:53 下午
 */

namespace common\models\pdd;


use common\models\base\ActiveRecord;
/**
 * This is the model class for table "tb_users".
 *
 * @property int $id
 * @property int $soft_id 用户中心id
 * @property int $mall_id 店铺ID
 * @property int $phone 手机号码
 * @property int $created_at 新增时间
 * @property int $updated_at 更新时间
 */
class PddUsersSofts extends ActiveRecord
{



    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'pdd_users_softs';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['soft_id', 'phone', 'created_at', 'updated_at'], 'integer'],
            [['phone'], 'string']
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'soft_id' => '用户中心id',
            'phone' => '手机号码',
            'created_at' => '新增时间',
            'updated_at' => '更新时间',
        ];
    }


}